From d09d9481c4129dc3b48663ce266856a24e1ac101 Mon Sep 17 00:00:00 2001 From: "maf46@burn.cl.cam.ac.uk" Date: Thu, 21 Apr 2005 20:17:39 +0000 Subject: [PATCH] bitkeeper revision 1.1361 (42680a63VNdw2vcBm5FrW2nhMZ_Ovw) Fix another bug introduced in the shadow code with the new page table entry macros. Signed-off-by: michael.fetterman@cl.cam.ac.uk --- xen/arch/x86/shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/shadow.c b/xen/arch/x86/shadow.c index 253eab5043..a91e9ad3bf 100644 --- a/xen/arch/x86/shadow.c +++ b/xen/arch/x86/shadow.c @@ -2456,7 +2456,7 @@ int shadow_fault(unsigned long va, struct xen_regs *regs) * STEP 2. Check the guest PTE. */ __guest_get_l2e(ed, va, &gpde); - if ( unlikely(!(l1e_get_flags(gpte) & _PAGE_PRESENT)) ) + if ( unlikely(!(l2e_get_flags(gpde) & _PAGE_PRESENT)) ) { SH_VVLOG("shadow_fault - EXIT: L1 not present" ); perfc_incrc(shadow_fault_bail_pde_not_present); -- 2.30.2